package com.bizfx.utils
{
	import mx.utils.StringUtil;

	public class StringUtils
	{		
		public static function isNullOrEmpty(s:String):Boolean
		{
			return (s == null || s == "");
		}
		
		public static function trim(s:String):String
		{
			return StringUtil.trim(s);
		}
		
		public static function replace(s:String, orgStr:String, newStr:String):String {
			return s.split(orgStr).join(newStr);
		}
		
		public static function format(str:String, ... rest):String {
			return StringUtil.substitute(str, rest);
		}
	}
}